home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2000 June / Internet Magazine June 2000.iso / pc / software / windows / bits / now_planner / data.z / COMMON.INI < prev    next >
Encoding:
INI File  |  1998-11-24  |  8.7 KB  |  377 lines

  1. ;; Copyright (c) 1997, Qualcomm, Inc.
  2. ;; All Rights Reserved.
  3.  
  4. ;; This file contains routines common to all our style files.
  5.  
  6. ;;*************************************************************************
  7. [copyright]
  8. font=1:1
  9. text1=left bottom ("Copyright © " @actualyear ", Qualcomm, Inc.")
  10. text2=right bottom (@actualdate "  " @actualtime)
  11.  
  12. ;;*************************************************************************
  13. [weekstickies]
  14. font=1:10
  15. data=setdayview
  16. event=sticky
  17. sticky=week insidesticky
  18.  
  19. [stickies]
  20. font=1:10
  21. data=setdayview
  22. event=sticky
  23. sticky=month insidesticky
  24.  
  25. [insidesticky]
  26. box1={ 20 1000 20 1000} black
  27. font=event
  28. brush=?@iscolor eventbackground
  29. pen=?@iscolor event
  30. layer={0 980 0 980} insidesticky2
  31.  
  32. [insidesticky2]
  33. box2=
  34. stream= (@tl ? @ds (" - " @ds) "")
  35.  
  36. ;;*************************************************************************
  37. ;; Assumes you pass an 8 1/2 by 11 inch paper
  38. [threehole811]
  39. layer1={1 30 22:275 31:275} dohole
  40. layer2={1 30 134:275 142:275} dohole
  41. layer3={1 30 244:275 253:275} dohole
  42.  
  43. ;;*************************************************************************
  44. [dohole]
  45. circle=6
  46. grid1=2 1
  47. grid2=1 2
  48.  
  49. ;;*************************************************************************
  50. ;; This is the standard Month Thumbnail, plus a colored one for wiziwig.
  51. ;; YOU must set month or year view before calling any thumbnail
  52.  
  53. [insetthumbnail]
  54. box={20 990 20 990}
  55. layer={20 990 20 990} thumbnail
  56.  
  57. [thumbnail]
  58. return=@height
  59. data=nodata
  60. font=1:1
  61. layer1={0   1:1 0  3:20} monthname
  62. layer2={0:7 7:7 3:20 5:20} week
  63. grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 days
  64.  
  65. [thumbnail3]
  66. return=@height
  67. data=nodata
  68. font=1:1
  69. layer1={0   1:1 0  3:20} monthname3
  70. layer2={0:7 7:7 3:20 5:20} week
  71. grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 days
  72.  
  73. [thumbmonnail]
  74. return=@height
  75. data=nodata
  76. font=1:1
  77. layer1={0   1:1 0  3:20} monthmonname
  78. layer2={0:7 7:7 3:20 5:20} week
  79. grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 days
  80.  
  81. [thumbmon3nail]
  82. return=@height
  83. data=nodata
  84. font=1:1
  85. layer1={0   1:1 0  3:20} month3name
  86. layer2={0:7 7:7 3:20 5:20} week
  87. grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 days
  88.  
  89. [thumbnailgray]
  90. return=@height
  91. data=nodata
  92. font=1:1
  93. layer1={0   1:1 0  3:20} monthname
  94. layer2={0:7 7:7 3:20 5:20} week
  95. grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 testdaysgray
  96.  
  97. [days]
  98. layer= = @currentmonth @month daysbold
  99.  
  100. [testdaysgray]
  101. layer= = @currentmonth @month daysbold daysgray
  102.  
  103. [daysbold]
  104. text=@day
  105.  
  106. [daysgray]
  107. box=lightgray
  108. text=@day
  109.  
  110. [monthname]
  111. message=(@currentmonth " " @currentyear)
  112. text={5:100 95:100 5:100 95:100} (@currentmonth " " @currentyear)
  113.  
  114. [monthname3]
  115. message=(@currentmonth3 " " @currentyear)
  116. text={5:100 95:100 5:100 95:100} (@currentmonth3 " " @currentyear)
  117.  
  118. [monthmonname]
  119. message=@currentmonth
  120. text={5:100 95:100 5:100 95:100} @currentmonth
  121.  
  122. [month3name]
  123. message=@currentmonth3
  124. text={5:100 95:100 5:100 95:100} @currentmonth3
  125.  
  126. [week]
  127. frame=
  128. grid= 7 1 0 weekdayname @setweekview
  129.  
  130. [weekdayname]
  131. text1= @weekday1
  132.  
  133. ;;*************************************************************************
  134. [hourstuff24]
  135. box=
  136. font=loose 1:2
  137. grid=1 24 hour @sethourview
  138.  
  139. ; ------------------------------------------------------------------------
  140. [hourstuff]
  141. box=
  142. font=loose 2:5
  143. grid=1 #daylength hour @sethourview @nextdaystart
  144.  
  145. [hour]
  146. text=(@hour @ampm)
  147.  
  148. ;;*************************************************************************
  149. ;; special one for the month thumbnails in wiziwig views
  150.  
  151. [quickmonthgrid]
  152. return=@height
  153. data=nodata
  154. area=thumbnail
  155. font=1:1 font
  156. pen=monthnametextcolor
  157. grid=#w_monx #w_mony 0 quickcolorthumbnail nextmonth
  158.  
  159. [monthgrid]
  160. return=@height
  161. data=nodata
  162. area=thumbnail
  163. font=1:1 font
  164. pen=monthnametextcolor
  165. grid=#w_monx #w_mony 1 reducedcolorthumbnail nextmonth
  166.  
  167. [quickcolorthumbnail]
  168. return=@height
  169. data=nodata
  170. font=1:1
  171. layer1={0 1000 0    1:8} colormonthname
  172. layer2={0 1000 1:8  2:8} weeknoframe
  173. box={0 1000 19:80 2:8} black
  174. grid={0 1000 2:8  8:8} 7 6
  175.  
  176. [reducedcolorthumbnail]
  177. layer={20 980 20 980} colorthumbnail
  178.  
  179. [colorthumbnail]
  180. return=@height
  181. data=nodata
  182. font=1:1
  183. layer1={0 1000 2:80    13:80} colormonthname
  184. layer2={0 1000 14:80  20:80} weeknoframe
  185. box={0 1000 19:80 20:80} black
  186. grid={0 1000 20:80  80:80} 7 #weeksinmonth 0 ? @iscolor tndaysgray tn2daysgray
  187.  
  188. [colormonthname]
  189. message=(@currentmonth " " @currentyear)
  190. text=(@currentmonth " " @currentyear)
  191.  
  192. [weeknoframe]
  193. pen=daylabeltextcolor
  194. grid= 7 1 0 tnweekdays @setweekview
  195.  
  196. [tnweekdays]
  197. text= @weekday1
  198.  
  199. [tndaysgray]
  200. layer1= = @currentmonth @month tndaysbold tndaysouter
  201. layer2= ? @istoday =@currentmonth @month boxer
  202.  
  203. [tn2daysgray]
  204. layer1= = @currentmonth @month daysbold
  205. layer2= ? @istoday =@currentmonth @month boxer
  206.  
  207. [tndaysbold]
  208. pen= ? @isweekend ? @istoday todaytextcolor weekendtextcolor ? @istoday todaytextcolor weekdaytextcolor 
  209. text= @day
  210.  
  211. [tndaysouter]
  212. pen=?@iscolor seethroughtextcolor
  213. text=@day
  214.  
  215. [boxer]
  216. pen=?@iscolor todaytextcolor
  217. frame=
  218.  
  219. ; **************************************************************************
  220. ; shared todo area on many WIZIWIG views
  221.  
  222. [wizitodos]
  223. return=@height
  224. layer2={ 0 1000 #w_p4 1000 } wizitodos2
  225. ;; DO THIS SECOND BECAUSE IT CHANGES THE VIEW!!
  226. layer1={ 0 1000 0 #w_p4 } monthgrid  @setmonthview
  227.  
  228. [wizitodos2]
  229. data=setactualday 
  230.  
  231. area1=todoheading
  232. font1=1:1 font
  233. pen1=textcolor
  234. layer1={0 1000 0 85} wizitodotitle
  235.  
  236. area2=todo
  237. font2=font
  238. pen2=textcolor
  239. layer2={0 1000 85 1000} wizitodolist
  240.  
  241. [wizitodolist]
  242. event=todolist
  243. font=fixed 1:20
  244. simplestack=null wizicols
  245.  
  246. [wizicols]
  247. ;;;; old way
  248. ;;;;column=0 #w_p2 cevent1 #w_p2 #w_p3 cevent2 #w_p3 1000 eventlister
  249. layer=todolister
  250.  
  251. ;; I don't think anyone calls this...
  252. [cevent1]
  253. layer==@tp "todo" cevent1todo cevent1call
  254.  
  255. [cevent1todo]
  256. bitmap={1:30 29:30 1:20 29:30} top = @cp "completed" todocomplete = @cp "inprogress" todoinprogress todonotdone
  257.  
  258. [cevent1call]
  259. bitmap={1:30 29:30 1:20 29:30} top = @cp "completed" callcomplete = @cp "inprogress" callinprogress callnotdone
  260.  
  261. ;; I don't think anyone calls this...
  262. [cevent2]
  263. font=event
  264. brush=?@iscolor eventbackground
  265. pen=event
  266. stream=@pr
  267.  
  268. [eventlister]
  269. layer= = @tp "banner" eventlisternotime = @tp "special" eventlisternotime = @tp "sticky" eventlisternotime = @tp "holiday" eventlisternotime eventlistertime
  270.  
  271. [eventlistertime]
  272. font=event
  273. brush=?@iscolor eventbackground
  274. pen=event
  275. stream= rest 1:20 ( ? @stm (= @stm @etm "" = @timeformat "NONE" "" = @timeformat "STARTEND" (@shr12":"@smn@sampm" - "@ehr12":"@emn@eampm " ") (@shr12":"@smn@sampm " ")) "") @tl ? @showdescription (? @ds (" - " @ds) "") hardbreak
  276.  
  277. [eventlisternotime]
  278. font=event
  279. brush=?@iscolor eventbackground
  280. pen=event
  281. stream= rest 1:20 (@tl ? @showdescription (? @ds (" - " @ds) "" )) hardbreak
  282.  
  283. ;;-----------------------------------------------------------------------------
  284. [todotitle0]
  285. box=
  286. message=("To-Do List - " @monthint "/" @day "/" @year)
  287. text=("To-Do List - " @monthint "/" @day "/" @year)
  288.  
  289. [todotitle1]
  290. box=
  291.  
  292. [todotitle2]
  293. box=
  294. text=("Priority")
  295.  
  296. [todotitle3]
  297. box=
  298. text=("Title")
  299.  
  300. [todotitle4]
  301. box=
  302. text=("Cat.")
  303.  
  304. [todotitle5]
  305. box=
  306. text=("Due")
  307.  
  308. [todotitle6]
  309. box=
  310. text=("Start")
  311.  
  312. [todotitle7]
  313. box=
  314. text=("Compl.")
  315.  
  316. [shorttodolistertitle]
  317. layer1={0 70     0 1000} todotitle1
  318. layer2={70 360 0 1000} todotitle2
  319. layer3={360 1000  0 1000} todotitle3
  320.  
  321. [shorttodolister]
  322. font=event
  323. brush=?@iscolor eventbackground
  324. pen=event
  325. column=70 360 todocol1 0 70 todocol0 360 1000 eventlister
  326.  
  327. ;;-----------------------------------------------------------------------------
  328. [todolistertitle]
  329. ;; these widths match todolister
  330. layer1={0 40     0 1000} todotitle1
  331. layer2={40 220 0 1000} todotitle2
  332. layer3={220 600  0 1000} todotitle3
  333. layer4={600 875 0 1000} todotitle4
  334. layer5={875 1000 0 1000} todotitle5
  335. ;;;;layer6={800 900 0 1000} todotitle6
  336. ;;;;layer7={900 1000 0 1000} todotitle7
  337.  
  338. [todolister]
  339. font=event
  340. brush=?@iscolor eventbackground
  341. pen=event
  342. column=40 220 todocol1 0 40 todocol0 220 600 eventlister 600 875 todocol2 875 1000 todocol3
  343.  
  344. [todocol0]
  345. layer={0 1000 0 streambottom} =@tp "todo" cevent1todo =@tp "call" cevent1call
  346.  
  347. [todocol1]
  348. stream==@tp "todo" @pr     =@tp "call" @pr @tp
  349.  
  350. [todocol2]
  351. stream = @pcat
  352.  
  353. [todocol3]
  354. stream = @sdd
  355.  
  356. [todocol4]
  357. stream = @ssd
  358.  
  359. [todocol5]
  360. stream = @scpd
  361.  
  362. ; ------------------------------------------------------------------------
  363. [wizitodotitle]
  364. layer0={0 1000      0   4:7}  todotitle0
  365. layer1={0 1000   4:7 1000} todolistertitle
  366.  
  367. ; **************************************************************************
  368. ; shared title area in wiziwigs
  369.  
  370. [title1]
  371. return=@height
  372. area=heading
  373. font=1:1 font
  374. pen=textcolor
  375. message=(@currentmonth " " @currentyear)
  376. text=(@currentmonth " " @currentyear)
  377.